import java.util.Random;
import java.util.Scanner;

public class diy {
    public static void main(String[] args) {
        Random rad=new Random();
        System.out.println(rad.nextInt(1,42));//42?
        char A='A';
        int a=1;
        System.out.println(A+a);
        int arrTwo[]=new int[]{1,2,3,4};
        String arr[]=new String[]{"a","b","c","d"};
        for (int i = 0; i < arr.length ; i++) {
            System.out.println(arr[i]);
        }
//        System.out.println("请输入开始数字");
//        Scanner start=new Scanner(System.in);
//        System.out.println("请输入结束数字");
//        Scanner end=new Scanner(System.in);
//        Random rad=new Random();
//        System.out.println("随机数是:"+rad.nextInt(start.nextInt(),end.nextInt()));
//        start.close();
//        end.close();
////        int val = 0b11010;
////        System.out.println("" + val);
    }
}
